import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

Vue.config.productionTip = false;

//elementui引入
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

Vue.use(ElementUI);

import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
  
Vue.use(VueQuillEditor)

// 引入axios
import axios from "axios";
import VueAxios from "vue-axios";

Vue.use(VueAxios, axios);

// 引入iconfont
import "./assets/iconfont.css";

// 全局使用过滤器
import filter from "@/libs/filter";
// 全局导入过滤器
Object.keys(filter).forEach(key => Vue.filter(key, filter[key]));

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
